package com.sgcc.ln.pmos.mobileapp.contract;

import com.sgcc.ln.pmos.common.base.IView;
import com.sgcc.ln.pmos.common.bean.ImageInfoBean;
import com.sgcc.ln.pmos.mobileapp.bean.QueryLegalInfoBean;

import java.util.Map;

public class LegalPersonInfoContract {
    public interface View extends IView {

        void uploadFileSuccess(ImageInfoBean.Info info);

        void queryLegalInfoSuccess(QueryLegalInfoBean.LegalInfo legalInfo);

        void saveDataSuccess(String text);

        void onFailed( int code );


    }

    public interface Presenter {

        void queryLegalInfo();

        void uploadFile(String filePath,int  affixType);

        void saveData(Map<String, Object> params);
    }
}
